//
//  PTRecorderCell.h
//  PocketTutor
//
//  Created by yate1996 on 15/6/9.
//  Copyright (c) 2015年 yate1996. All rights reserved.
//

#import <UIKit/UIKit.h>


@class PTRecorderFrame,PTRecorderCell;
typedef enum {
    PTRecorderButtonTypeactionOrCancel,
    PTRecorderButtonTypereadMyText,
    PTRecorderButtonTypelessonTitle
} PTRecorderButtonType;


@protocol PTRecorderButtonDelegate <NSObject>

@optional
-(void)didSelectedButton:(PTRecorderButtonType)buttonType UIButton:(UIButton *)button;

@end
@interface PTRecorderCell : UITableViewCell

+(instancetype)cellWithTableView:(UITableView *)tableView;

@property (nonatomic, weak) id<PTRecorderButtonDelegate>delegate;
@property (nonatomic,assign) PTRecorderButtonType selectButtonType;
@property (nonatomic, strong) PTRecorderFrame *recorderFrame;
@end
